<?php include("../mise_en_page/barre_recherche.php")?>
<div class="onglets">
	<span class="onglet_0 onglet" id="onglet_usager" onclick="javascript:change_onglet('usager');">Usagers</span>
	<span class="onglet_0 onglet" id="onglet_informations" onclick="javascript:change_onglet('informations');">Informations</span>
    <span class="onglet_0 onglet" id="onglet_adresse" onclick="javascript:change_onglet('adresse');">Adresse facturation</span>
	<span class="onglet_0 onglet" id="onglet_commentaires" onclick="javascript:change_onglet('commentaires');">Commentaires</span>
</div>
<div class="contenu_onglets">
	<form method="POST" action="./usager/modification_usager.php" id="formulaire_modif_usager">
    	<div class="contenu_onglet" id="contenu_onglet_usager">
			<?php
				require_once("../prospect/prospect_prospect.php");
			?> 
		</div>                  
		<div class="contenu_onglet" id="contenu_onglet_informations">
			<?php
				require_once("../prospect/prospect_info.php");
			?>  
		</div>
		<div class="contenu_onglet" id="contenu_onglet_adresse">
			<?php
				require_once("../prospect/prospect_adresse.php");
			?>
		</div>
		<div class="contenu_onglet" id="contenu_onglet_commentaires">
			<?php
				require_once("../prospect/prospect_commentaires.php");
			?>
		</div>

		<div class="button_box">
			<input type="button" value="Adultes rattachés" class="align_button" />
			<input type="button" value="Envoyer le fichier" onclick="modifElement('./usager/modification_usager.php','#formulaire_modif_usager',{'#tableau_contact_prospect':'commentaire_usager.php'})"/>
		</div>
	</form>
</div>
<div class="javascript" id="usager_javascript">

	updateInput(document.getElementById("date"),'date_crea');
	uploadData("./usager/class_usager.php","recherche");
	$("#recherche").combobox({
		selected: function() {
			updateFormulaire("./usager/xml_usager.php",$(this).val(),"usager");
			updateInput(document.getElementById('etablissement'),'.prospect_etab');
		}
	});
	
</div>
